package com.cet.designpatterns.builder;

/**
 * @program: algorithm
 * @description:
 * @author: 陈恩涛
 * @create: 2021-09-07 09:02
 **/
public abstract class AbstractHouse {

    public abstract void buildBasic();

    public abstract void buildWall();

    public abstract void buildRoof();

    public void build() {
        buildBasic();
        buildWall();
        buildRoof();
    }
}
